import Vue from  'vue'

import VueRouter from 'vue-router'
Vue.use(VueRouter)

import VueResource from 'vue-resource'
Vue.use(VueResource)


//按需导入mint-ui组件
import {header,Swipe, SwipeItem} from 'mint-ui'
Vue.component(header.name,header)
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'

import router from './router.js'

import app from './app.vue'


var vm = new Vue({
    el:'#app',
    render:c=>c(app),
    router
})
